using System.ComponentModel;
using System.Windows;

namespace Kotonoha.Server.UI.Utils {
    public static class DesignerSupport {
        public static bool IsInDesigner() {
            return (bool) (DesignerProperties.IsInDesignModeProperty.GetMetadata(typeof (DependencyObject)).DefaultValue);
        }
    }
}